package com.czy.owner.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by King on 2017-05-25
 */

public class DetectionResult implements Serializable {

    /**
     * maintainMileage : 8000
     * modelsList : [{"superModelsId":0,"sonModelsList":[{"superModelsId":29,"modelsName":"小保养2","modelsLogo":"","sort":2,"modelsId":31,"status":"enable"},{"superModelsId":29,"modelsName":"小保养3","modelsLogo":"","sort":3,"modelsId":32,"status":"enable"}],"modelsName":"小保养","modelsLogo":"","sort":3,"modelsId":29,"status":"enable"}]
     * manualName : 通用手册 - 不要删除
     * type : general
     * maintenanceManualId : 11
     * timeMileageName : 低端
     * timeMileageList : [{"timeMileageId":24,"time":3,"sort":1,"timeMileageName":"低端","mileage":5000},{"timeMileageId":25,"time":6,"sort":2,"timeMileageName":"低端","mileage":8000},{"timeMileageId":26,"time":8,"sort":3,"timeMileageName":"低端","mileage":12000},{"timeMileageId":27,"time":10,"sort":4,"timeMileageName":"低端","mileage":15000},{"timeMileageId":28,"time":12,"sort":5,"timeMileageName":"低端","mileage":20000},{"timeMileageId":29,"time":15,"sort":6,"timeMileageName":"低端","mileage":25000},{"timeMileageId":30,"time":18,"sort":7,"timeMileageName":"低端","mileage":30000}]
     */

    private int maintainMileage;
    private int timeMileageId;
    private String manualName;
    private String type;
    private int maintenanceManualId;
    private String timeMileageName;
    private List<ModelsListBean> modelsList;
    private List<TimeMileageListBean> timeMileageList;

    public int getMaintainMileage() {
        return maintainMileage;
    }

    public void setMaintainMileage(int maintainMileage) {
        this.maintainMileage = maintainMileage;
    }

    public int getTimeMileageId() {
        return timeMileageId;
    }

    public void setTimeMileageId(int timeMileageId) {
        this.timeMileageId = timeMileageId;
    }

    public String getManualName() {
        return manualName;
    }

    public void setManualName(String manualName) {
        this.manualName = manualName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getMaintenanceManualId() {
        return maintenanceManualId;
    }

    public void setMaintenanceManualId(int maintenanceManualId) {
        this.maintenanceManualId = maintenanceManualId;
    }

    public String getTimeMileageName() {
        return timeMileageName;
    }

    public void setTimeMileageName(String timeMileageName) {
        this.timeMileageName = timeMileageName;
    }

    public List<ModelsListBean> getModelsList() {
        return modelsList;
    }

    public void setModelsList(List<ModelsListBean> modelsList) {
        this.modelsList = modelsList;
    }

    public List<TimeMileageListBean> getTimeMileageList() {
        return timeMileageList;
    }

    public void setTimeMileageList(List<TimeMileageListBean> timeMileageList) {
        this.timeMileageList = timeMileageList;
    }

    public static class ModelsListBean implements Serializable {
        /**
         * superModelsId : 0
         * sonModelsList : [{"superModelsId":29,"modelsName":"小保养2","modelsLogo":"","sort":2,"modelsId":31,"status":"enable"},{"superModelsId":29,"modelsName":"小保养3","modelsLogo":"","sort":3,"modelsId":32,"status":"enable"}]
         * modelsName : 小保养
         * modelsLogo :
         * sort : 3
         * modelsId : 29
         * status : enable
         */

        private int superModelsId;
        private String modelsName;
        private String modelsLogo;
        private int sort;
        private int modelsId;
        private String status;
        private List<SonModelsListBean> sonModelsList;

        public int getSuperModelsId() {
            return superModelsId;
        }

        public void setSuperModelsId(int superModelsId) {
            this.superModelsId = superModelsId;
        }

        public String getModelsName() {
            return modelsName;
        }

        public void setModelsName(String modelsName) {
            this.modelsName = modelsName;
        }

        public String getModelsLogo() {
            return modelsLogo;
        }

        public void setModelsLogo(String modelsLogo) {
            this.modelsLogo = modelsLogo;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public int getModelsId() {
            return modelsId;
        }

        public void setModelsId(int modelsId) {
            this.modelsId = modelsId;
        }

        public String getStatus() {
            return status;
        }

        public void setStatus(String status) {
            this.status = status;
        }

        public List<SonModelsListBean> getSonModelsList() {
            return sonModelsList;
        }

        public void setSonModelsList(List<SonModelsListBean> sonModelsList) {
            this.sonModelsList = sonModelsList;
        }

        public static class SonModelsListBean implements Serializable{
            /**
             * superModelsId : 29
             * modelsName : 小保养2
             * modelsLogo :
             * sort : 2
             * modelsId : 31
             * status : enable
             */

            private int superModelsId;
            private String modelsName;
            private String modelsLogo;
            private int sort;
            private int modelsId;
            private String status;

            public int getSuperModelsId() {
                return superModelsId;
            }

            public void setSuperModelsId(int superModelsId) {
                this.superModelsId = superModelsId;
            }

            public String getModelsName() {
                return modelsName;
            }

            public void setModelsName(String modelsName) {
                this.modelsName = modelsName;
            }

            public String getModelsLogo() {
                return modelsLogo;
            }

            public void setModelsLogo(String modelsLogo) {
                this.modelsLogo = modelsLogo;
            }

            public int getSort() {
                return sort;
            }

            public void setSort(int sort) {
                this.sort = sort;
            }

            public int getModelsId() {
                return modelsId;
            }

            public void setModelsId(int modelsId) {
                this.modelsId = modelsId;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }
        }
    }

    public static class TimeMileageListBean implements Serializable {
        /**
         * timeMileageId : 24
         * time : 3
         * sort : 1
         * timeMileageName : 低端
         * mileage : 5000
         */

        private int timeMileageId;
        private int time;
        private int sort;
        private String timeMileageName;
        private long mileage;

        public int getTimeMileageId() {
            return timeMileageId;
        }

        public void setTimeMileageId(int timeMileageId) {
            this.timeMileageId = timeMileageId;
        }

        public int getTime() {
            return time;
        }

        public void setTime(int time) {
            this.time = time;
        }

        public int getSort() {
            return sort;
        }

        public void setSort(int sort) {
            this.sort = sort;
        }

        public String getTimeMileageName() {
            return timeMileageName;
        }

        public void setTimeMileageName(String timeMileageName) {
            this.timeMileageName = timeMileageName;
        }

        public long getMileage() {
            return mileage;
        }

        public void setMileage(long mileage) {
            this.mileage = mileage;
        }
    }
}
